package com.apartmentManage.service;

import com.apartmentManage.entity.AbsenceLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface AbsenceLogService {
    /*添加*/
    boolean save(AbsenceLog absenceLog);

    /*修改*/
    boolean update( AbsenceLog absenceLog);

    /*删除*/
    boolean delete(String sno);

    /*查询所有*/
    List<AbsenceLog> getAll();

    AbsenceLog getByNo(String sno);

    /*条件模糊查询*/
    List<AbsenceLog> getByRequirement( AbsenceLog absenceLog);
}
